package com.copd.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel(description = "角色传输对象")
@Data
public class RoleDTO {
    
    @ApiModelProperty(value = "角色ID", example = "1")
    private Integer roleId;
    
    @ApiModelProperty(value = "角色名称", required = true, example = "系统管理员")
    private String roleName;
    
    @ApiModelProperty(value = "角色标识符", required = true, example = "admin")
    private String roleKey;
    
    @ApiModelProperty(value = "角色描述", example = "系统管理员，拥有所有权限")
    private String description;
    
    @ApiModelProperty(value = "角色拥有的权限ID列表")
    private List<Integer> permissionIds;
} 